home *** CD-ROM | disk | FTP | other *** search
- from PSPApp import *
-
- def ScriptProperties():
- return {
- 'Author': u'Corel Corporation',
- 'Copyright': u'Copyright (c) 2003-2004 Corel Corporation All rights reserved.',
- 'Description': u'',
- 'Host': u'Paint Shop Pro',
- 'Host Version': u'8.10'
- }
-
- def Preset_BlackAndWhite():
- return {
- 'BlackPoint': (0,0,0),
- 'GreyPoint': (127,127,127),
- 'WhitePoint': (255,255,255),
- 'BlackDest': (255,255,255),
- 'GreyDest': (127,127,127),
- 'WhiteDest': (0,0,0),
- 'BalanceGrey': App.Constants.Boolean.false,
- 'PreserveLightness': App.Constants.Boolean.false,
- 'UseBlackPoint': App.Constants.Boolean.true,
- 'UseGreyPoint': App.Constants.Boolean.true,
- 'UseWhitePoint': App.Constants.Boolean.true
- }
-
- def Do(Environment):
- # Black and White Points
- App.Do( Environment, 'BlackAndWhite', Preset_BlackAndWhite())
-
-